package com.project;

import java.time.LocalDate;

/**
 * Created by 卢泓佚  414814103@qq.com on 2021/8/26
 */
public class LocalDateUtil {

    public static LocalDate getLocalDate(String dateStr){
        LocalDate localDate = null;
        if(dateStr!= null && !dateStr.equals("")){
            localDate = LocalDate.parse(dateStr);
        }
        return localDate;
    }
}
